﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using EnheimGallery.DAL.SystemDAL;
namespace EnheimGallery.Models.NewsModel
{
    public class SystemMessageViewModel
    {
        public string Date { get; set; }
        public string Description { get; set; }

        public SystemMessageViewModel(SysMessageData data)
        {
            this.Date = data.CreateDate.ToString();
            this.Description = data.Description;
        }
    }
}